import request from "@/utils/request";

export default {
// /admin/product/getCategory1
// 获取一级分类列表
getCategory1(){
  return request.get(`/admin/product/getCategory1`)
},

// GET /admin/product/getCategory2/{category1Id}
// 获取二级分类列表，需要传入一级分类ID
getCategory2(category1Id){
  return request.get(`/admin/product/getCategory2/${category1Id}`)
},

// GET /admin/product/getCategory3/{category2Id}
// 获取三级分类列表，需要传入二级分类ID
getCategory3(category2Id){
  return request.get(`/admin/product/getCategory3/${category2Id}`)
},

// GET /admin/product/attrInfoList/{category1Id}/{category2Id}/{category3Id}

};
